package demo6;

public abstract class  Employee {
    public String name;
    public int age;

    public Employee() {
    }

    public Employee(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public final void  basicInformation(){
        System.out.println("姓名：" + name);
        System.out.println("年龄：" + age);
        vocationalSkills();
    }
    public abstract void vocationalSkills();

}
